]> dgit.raspbian.org Git - gnome-shell.git/commit
windowManager: X11 can work without gsd-xsettings
authorOlivier Fourdan <ofourdan@redhat.com>
Tue, 3 Mar 2020 12:14:23 +0000 (13:14 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Fri, 6 Mar 2020 18:50:52 +0000 (18:50 +0000)
commita96753f08518892ec08a588cf97ea8bac0c264c8
treed10996cca84ada1c9d69f85f83881aafdafd0e92
parent4ff94f80a00d0e1e0a9e48df5c390cdf98a476b3
windowManager: X11 can work without gsd-xsettings

Currently, a failure to start the Systemd unit `gsd-xsettings.target`
would be considered a failure to start Xwayland.

That means that if `gsd-xsettings.target` fails to start for whatever
reason, no X11 client can be used on Wayland.

However, XSettings is by no mean mandatory for X11 clients and many
legacy X11 clients do not implement XSettings. Those who do always have
a fallback path and therefore can still work without XSettings.

Make a failure to start the Systemd unit `gsd-xsettings.target` non
blocking for Xwayland, and just log a warning message.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1065
js/ui/windowManager.js